package org.edu.modules.jxrw.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PkParam {

    @ApiModelProperty(value = "自增长主键ID")
    private Integer id;

    @ApiModelProperty(value = "学期ID")
    private Integer semid;

    @ApiModelProperty(value = "学期名称")
    private String xqmc;

    @ApiModelProperty(value = "选课年级ID")
    private Integer gradeid;

    @ApiModelProperty(value = "选课年级")
    private String xknj;

    @ApiModelProperty(value = "起始周")
    private Integer qsz;

    @ApiModelProperty(value = "终止周")
    private Integer zzz;

    @ApiModelProperty(value = "教学班ID")
    private Integer jxbid;

    /** 学期 - 班级 */
    public static PkParam getBySemidAndJxbid(Integer semid, Integer jxbid){
        PkParam param = new PkParam();
        param.semid = semid;
        param.jxbid = jxbid;
        return param;
    }

}
